python threading for nested loops

join shbcf.ru